package cn.relx.user.mapper;

import cn.relx.basic.vo.LoginVo;
import cn.relx.user.domain.Logininfo;
import cn.relx.basic.mapper.BaseMapper;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author relx
 * @since 2022-10-19
 */
public interface LogininfoMapper extends BaseMapper<Logininfo> {

    Logininfo findByUsernameAndType(LoginVo loginVo);

    Logininfo findByUserId(Long userId);

    Logininfo findByLogininfoId(Long id);
}
